package com.ocom.common.entity.payconfig;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * voucher_data
 * @author 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "rest_staff")
public class EntityRestStaff implements Serializable {
    private static final long serialVersionUID = -5372389575246682584L;
    /**
     * 主键自增
     */
    @TableId(value = "staff_id", type = IdType.AUTO)
    private Integer staffId;

    /**
     * 单位编号
     */
    private Long comId;

    /**
     * 商户id,0代表单位
     */
    private Integer merchId;

    private String staffCode;
    private String staffName;
    private String staffPhoto;
    private String jobs;
    private String phone;
    private String healthCertificate;
    private String healthPhoto;
    private Date entryDate;
    private Integer status;



    /**
     * 生成时间，计划日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+08")
    private Date createTime;

    /**
     * 创建人p_id
     */
    private Integer createUser;

    /**
     * 更新时间，最后使用日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+08")
    private Date updateTime;

    /**
     * 更新人p_id
     */
    private Integer updateUser;


}